package com.liujit.auth.domain.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @description: 登录请求参数
 * @author: liujun
 * @create: 2021-03-24 21:30
 */
@Data
@ApiModel(value = "LoginParam", description = "登录请求参数")
public class LoginParam {

    @ApiModelProperty(value = "账号")
    @NotBlank(message = "账号不能为空")
    private String account;

    @ApiModelProperty("密码")
    @NotBlank(message = "密码不能为空")
    private String pwd;
}
